import request from "@/utils/request";
import {MenuItem} from "./model";

class MenuAPI {
    /**
     * 获取菜单列表
     */
    static list() {
        return request<any, ListResult<MenuItem>>({
            url: "/api/menu/list",
            method: "get",
        });
    }
}

export default MenuAPI;
